<template>
  
</template>

<script>
export default {
    methods:{
        settoken(){
            localStorage.setItem('token',this.$route.query.token)
            localStorage.setItem('userid',this.$route.query.userid)
                this.$router.push({'path':'/'})
        }
    },
    mounted(){
        this.settoken()
    }
}
</script>

<style>

</style>